package com.sufen.gb.service.impl;

import com.sufen.gb.entity.Dict;
import com.sufen.gb.dao.DictMapper;
import com.sufen.gb.service.DictService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 数据字典 服务实现类
 * </p>
 *
 * @author mybatis-plus
 * @since 2021-11-30
 */
@Service
public class DictServiceImpl extends ServiceImpl<DictMapper, Dict> implements DictService {

    @Resource
    DictMapper dictMapper;
    @Override
    public Dict getDictById(int id) {
        return dictMapper.getDictById(id);
    }
}
